function blow(ele, data) {
  for (let i = 0; i < data.length; i++) {
    var oLi = document.createElement('li')
    oLi.className = 'maxlist'
    oLi.innerHTML = `
    <span class="num">${i + 1}</span>
    <img src="${data[i].goods_small_logo}" alt="">
   <div>
    <a href="../html/details.html?id=${data[i].goods_id}" target="_blank">${data[i].goods_name}</a>
    <b>￥${data[i].goods_price}</b>
   </div>
    `
    ele.appendChild(oLi)
  }
  
  var li = ele.querySelectorAll('li')
  li[0].className ='maxlist listac' 
  for (let i = 0; i < li.length; i++) {
    li[i].addEventListener('mouseover', function () {
        for (let i = 0; i < li.length; i++) {
          li[i].className = 'maxlist'
        }
        this.className = 'maxlist listac'
    })
  }

}